From 0fe8b2d6d5248b3dddcabe744e933ddb100cad30 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 18 Dec 2003 16:08:01 +0000 Subject: [PATCH] Fix typo that used the wrong x/y values for the x1, y1 point 2003-12-18 Alexander Larsson * gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect): Fix typo that used the wrong x/y values for the x1, y1 point --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkicontheme.c | 2 +- 6 files changed, 26 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a1e8050801..f6d411f264 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-12-18 Alexander Larsson + + * gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect): + Fix typo that used the wrong x/y values for the x1, y1 point + Thu Dec 18 01:41:50 2003 Kristian Rietveld * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init), diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a1e8050801..f6d411f264 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2003-12-18 Alexander Larsson + + * gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect): + Fix typo that used the wrong x/y values for the x1, y1 point + Thu Dec 18 01:41:50 2003 Kristian Rietveld * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init), diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a1e8050801..f6d411f264 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2003-12-18 Alexander Larsson + + * gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect): + Fix typo that used the wrong x/y values for the x1, y1 point + Thu Dec 18 01:41:50 2003 Kristian Rietveld * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init), diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a1e8050801..f6d411f264 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2003-12-18 Alexander Larsson + + * gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect): + Fix typo that used the wrong x/y values for the x1, y1 point + Thu Dec 18 01:41:50 2003 Kristian Rietveld * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init), diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a1e8050801..f6d411f264 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2003-12-18 Alexander Larsson + + * gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect): + Fix typo that used the wrong x/y values for the x1, y1 point + Thu Dec 18 01:41:50 2003 Kristian Rietveld * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init), diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 5e465e15a5..bd0dc97e68 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -2370,7 +2370,7 @@ gtk_icon_info_get_embedded_rect (GtkIconInfo *icon_info, icon_info->data->x0, icon_info->data->y0, &scaled_x0, &scaled_y0); icon_info_scale_point (icon_info, - icon_info->data->x0, icon_info->data->y0, + icon_info->data->x1, icon_info->data->y1, &scaled_x1, &scaled_y1); rectangle->x = scaled_x0; -- 2.30.2